require 'rubygems' 
require 'rbosa'
app = OSA.app('iTunes')
library_source = app.sources.collect {|s| s if 'Library' == s.name}[0]
#puts library_source.library_playlists.file_track

lib = library_source.library_playlists[0]
lib.file_tracks.each do |t| 
  puts "#{t.artist}/#{t.album}/#{t.name} - #{t.location}" if t.artist == 'Lily Allen'
end